import {formatDate} from '@/utils/date'
export default {
    install(Vue, options) {
        // 1. 添加全局方法或属性
        console.log('或弃权')
        Vue.filter('formatDate', function(value, formatString){
            return formatDate(value, formatString);
        })
    }
};